package com.herch.system.domain.vo;

public class SerialPortVo {
	private String rs485SerialPort;// RS485串口号
	private String fz420SerialPort;// FZ420串口号
	private String rs485Baudrate;// RS485波特率
	private String fz420Baudrate;// FZ420波特率
	private String dataBits;// 数据位
	private String parity;// 校验值
	private String stopBits;// 停止位
	private String spWorkStyle;// 协议类型1.RTU,2.ASCII

	public String getSpWorkStyle() {
		return spWorkStyle;
	}

	public void setSpWorkStyle(String spWorkStyle) {
		this.spWorkStyle = spWorkStyle;
	}

	public String getRs485SerialPort() {
		return rs485SerialPort;
	}

	public void setRs485SerialPort(String rs485SerialPort) {
		this.rs485SerialPort = rs485SerialPort;
	}

	public String getFz420SerialPort() {
		return fz420SerialPort;
	}

	public void setFz420SerialPort(String fz420SerialPort) {
		this.fz420SerialPort = fz420SerialPort;
	}

	public String getRs485Baudrate() {
		return rs485Baudrate;
	}

	public void setRs485Baudrate(String rs485Baudrate) {
		this.rs485Baudrate = rs485Baudrate;
	}

	public String getFz420Baudrate() {
		return fz420Baudrate;
	}

	public void setFz420Baudrate(String fz420Baudrate) {
		this.fz420Baudrate = fz420Baudrate;
	}

	public String getDataBits() {
		return dataBits;
	}

	public void setDataBits(String dataBits) {
		this.dataBits = dataBits;
	}

	public String getParity() {
		return parity;
	}

	public void setParity(String parity) {
		this.parity = parity;
	}

	public String getStopBits() {
		return stopBits;
	}

	public void setStopBits(String stopBits) {
		this.stopBits = stopBits;
	}

	@Override
	public String toString() {
		return "SerialPortVo{" +
				"rs485SerialPort='" + rs485SerialPort + '\'' +
				", fz420SerialPort='" + fz420SerialPort + '\'' +
				", rs485Baudrate='" + rs485Baudrate + '\'' +
				", fz420Baudrate='" + fz420Baudrate + '\'' +
				", dataBits='" + dataBits + '\'' +
				", parity='" + parity + '\'' +
				", stopBits='" + stopBits + '\'' +
				", spWorkStyle='" + spWorkStyle + '\'' +
				'}';
	}
}
